package com.wenwei.net;

/**
 * Created by Administrator on 2017/6/6.
 */
public class ApiResultBean<T> {


    /**
     * timestamp : 1505888611579
     * code : 200
     * message : data success
     * path : http://localhost:8080/app/sendSMS4Register
     * method : GET
     * data : null
     */

    private long timestamp;
    private int code;
    private String message;
    private String path;
    private String method;
    private T data;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
